function doLogin() {
	console.log('tesclick');
	document.getElementById("formLogin").submit(function(e) {   
	  e.preventDefault(); 
	  console.log('tesclick');
	  Ext.Ajax.request({
	  		method : "GET",
	  		url: './Services/ActivityLog/LOGIN/user_admin',
	  		timeout: 600000,
	  		success : function(c) {
		  		console.log("connect");
	  			var json = Ext.JSON.decode(c.responseText);
//	  			if(json){
//	  				if(json.cells != null && json.cells.length > 0){
//	  					pasteLookupData(json);
//	  				} else {
//	  					Ext.Msg.alert('Information', 'No Data');
//	  				}
//	  			}
	  		}
	  	});
	});
}

function submitenter(myfield,e)
{
	var keycode;
	if (window.event) keycode = window.event.keyCode;
	else if (e) keycode = e.which;
	else return true;
	
	if (keycode == 13)
    {
	   myfield.form.submit();
	   console.log('tesenter');
	   return false;
    }
	else
	   return true;
}

